package com.catena.core;

/**
 * Created by hx-pc on 16-3-2.
 */
public class KeyMapIsAbsent extends RuntimeException {

    private String message = "key有重复，请检查";

    public KeyMapIsAbsent(String message, Throwable cause) {
        this.message = message;
    }

    public KeyMapIsAbsent(String message) {
        this.message = message;
    }

    public KeyMapIsAbsent(Throwable cause) {
        super(cause);
    }

    @Override
    public String getMessage() {
        return message;
    }
}
